package com.kaoshi.service;

import com.kaoshi.entity.Bao;
import com.kaoshi.entity.Doctor;
import com.kaoshi.entity.Institution;
import com.kaoshi.entity.Team;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient(value = "service-zlgl")
public interface Feignziliaoguanli {

    @RequestMapping("/institution/findAll")
    List<Institution> findAll();

    @RequestMapping("/team/TfindAll")
    List<Team> TfindAll();

    @RequestMapping("/doctor/getDoctor")
    List<Doctor> getDoctor();

    @RequestMapping("/bao/getBao")
    List<Bao> getBao();
}
